home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
2565.ZIP
/
JCOMM224.ZIP
/
JCOMM.HLP
< prev
next >
Wrap
Text File
|
1990-06-25
|
9KB
|
344 lines
[main
J-COMM Help Index.
--------------------
KEY TOPIC
1 Configuration.
2 Dialup Settings.
3 Modem Command Strings.
4 Making a Call.
5 Downloading.
6 Uploading.
7 Text Capture.
8 Script Files.
9 About J-COMM.
Esc Exit Help.
Use specified keys, PgUp, PgDn or Esc
];1:conf;2:param;3:mcmd;4:dial;5:down;6:up;7:cap;8:scr1;9:info;q:conf;
[conf
Configuring JCOMM
-------------------
J-COMM must be told about the modem you are
using. You must specify which serial port
you are using (if the modem is inside the PC
it is probably using port 2), whether it is
dumb or smart (modern modems are all smart)
and whether it can do error correction (cheap
modems usually can't). Handshaking is only
required if you are using a fast modem or are
linked directly to another computer.
You may also specify whether you want J-COMM
to keep a log of connections, and the paths
to be used for uploaded and downloaded files,
and for the log.
press Esc-menu
]main;i:main;q:param;
[param
Dialup Settings
-----------------
In order to communicate with a service J-COMM
must be told the number to dial, the speed
used, the format of the data used and whether
the service uses error correction.
Most bulletin boards support 1200 baud, 8-N-1
full duplex, no error correction. If garbage
appears consistently, the format may be
wrong, try 7-E-1.
If you cannot see the characters you type try
half duplex; if each key appears twice, use
full duplex.
press Esc-menu
]main;i:conf;q:mcmd;
[mcmd
Modem Command Strings
-----------------------
Modem command strings are used to instruct
smart modems to dial a number, use error
correction, hang up the line and so on.
Most modems use Hayes commands, and the set
provided as a default will work with many of
the lower cost modems.
If it is necessary to change the command
strings, then there is no alternative but
to refer to your modem's manual, as there
are many variations on the basic Hayes
commands.
press Esc-menu
]main;i:param;q:dial;
[dial
Making a Call
---------------
To call an online service, use F3 Dial, and
select the name of the service from the menu.
You can abort the call by pressing Esc.
J-COMM will attempt to make a connection up to
5 times, as set in the Communications Params.
Progress is reported on the terminal screen.
Once a connection is made, the status line
will show ONLINE and the named script file
will be executed.
To terminate the call, sign off from the
online service, then press F4 Hangup.
press Esc-menu
]main;i:mcmd;q:down;
[down
Downloading
-------------
To download a file, you must first know which
transfer protocol the remote computer uses.
You will need to give the remote computer a
command to tell it what file you wish to
download. As soon as the remote computer says
it is ready, press F5 Receive. Enter a name
for the received file to be written to, and
choose the protocol. The transfer will then
begin, a bar graph will show progress.
File transfer protocols available are: TEXT,
XMODEM, YMODEM and YMODEM-G.
press E-errors Esc-menu
]main;i:dial;q:up;E-err;
[up
Uploading
-----------
To upload a file, you must first know which
transfer protocol the remote computer uses.
You will need to tell the remote computer to
be ready to receive a file. As soon as the
remote computer says it is ready, press
F6 Transmit. Enter a name for the file to be
sent, and choose the protocol. The transfer
will then begin, a bar graph showing progress.
File transfer protocols available are: TEXT,
XMODEM, YMODEM and YMODEM-G.
press E-errors Esc-menu
]main;i:down;q:err;E-err;
[err
File Transfer Errors
----------------------
The following errors are indicated during an
XMODEM or YMODEM file transfer:
T : Timeout occurred (no reply in 10s).
P : Previous block was retransmitted.
L : Block received was too long.
B : Block number received was invalid.
C : Checksum/CRC error.
N : Negative acknowledgement received.
press Esc-menu
]main;i:up;q:cap;
[cap
Text Capture
--------------
A copy of text received from the remote
computer, as well as commands you type, can be
captured in a file.
Text is captured to a file CAPTURED.TXT. Text
capturing can be turned on and off by pressing
the F7 Capture key. The legend 'CAPT' will
show on the status line, if capturing is
currently turned on.
press Esc-menu
]main;i:up;q:scr1;
[scr1
Script Files
--------------
Script files are simple 'programs' which are
used to automate communications tasks such as
logging on to a remote computer or downloading
a file.
A script file can be automatically run:
- as soon as J-COMM is loaded (named
in the command line);
- immediately a connection is made.
Sequences of script commands, called 'macros',
can be set up and will be executed whenever an
Alt/key combination is pressed.
press PgDn-more M-Macros C-Commands Esc-menu
]main;M:mac;C:sc1;i:cap;q:scr2;
[scr2
Script Files (cont)
---------------------
Script files must be written to a strict
format:
:label command parameter(s)
Labels, if present, must begin in column 1
with a colon (:) and may be up to 12
characters long.
Commands and parameters are separated from
each other by one or more spaces. Commands
may be indented for clarity.
press Esc-menu
]main;i:scr1;q:mac;
[mac
Macros
--------
A macro is part of a script which is executed
whenever an Alt/key combination is pressed. A
macro is defined in the script by:
ALT <letter> IS <label>
and the macro commands would be:
:<label>
command 1
command 2
.....
Exit
press Esc-script menu
]scr1;i:scr2;q:sc1;
[sc1
Script Commands
-----------------
ALT : ALT <key> IS <label>
defines a macro.
CALL : CALL <label>
execute a subroutine.
CAPTURE : CAPTURE <ON|OFF>
toggle text capture on/off.
DIAL : DIAL <name>
dial the named service.
EXIT : EXIT
exit script, subroutine or macro.
IF : IF [NOT] <condition>
.. command(s) ..
ELSE
.. command(s) ..
END
execute commands conditionally
press PgDn-more Esc-script menu
]scr1;i:mac;q:sc2;
[sc2
Script Commands (cont)
------------------------
MESSAGE : MESSAGE <text>
display a message to the user.
NOTE : NOTE <text>
explanatory comment in script.
PAUSE : PAUSE <n>
pause script for n seconds.
QUIT : QUIT
terminate script and exit J-COMM.
RECEIVE : RECEIVE <protocol> <filename>
download file using protocol.
REPEAT : REPEAT
.. command(s) ..
UNTIL [NOT] <condition>
loop until condition is met.
press PgDn-more Esc-script menu
]scr1;i:sc1;q:sc3;
[sc3
Script Commands (cont)
------------------------
SEND : SEND <text>
send text string (^M = Enter).
SEND ?<prompt>
prompt user for text and send it.
TRACE : TRACE <ON|OFF>
toggle script tracing on/off.
TRANSMIT: TRANSMIT <protocol> <filename>
upload file using protocol.
WAITFOR : WAITFOR <text>
wait up to w seconds for text to be
received.
WAITTIME: WAITTIME <w>
set 'waitfor' time to w seconds.
press PgDn-more Esc-script menu
]scr1;i:sc2;q:sc4;
[sc4
Conditions
------------
MNP : TRUE if error correction operating.
OK : TRUE if previous file transfer or
WAITFOR command was successful.
ONLINE : TRUE if modem is online.
RECEIVED <text>
: TRUE if <text> was received during
last PAUSE or WAITFOR command.
TIME <hh:mm>
: TRUE if time is as specified.
press Esc-script menu
]scr1;i:sc3;q:info;
[info
About J-COMM
--------------
J-COMM was written by Julian V Moss. Version
1 first appeared in October 1988. The latest
version has been developed using the TopSpeed
integrated development environment, using a
combination of Modula-2, C and assembler.
Comments, bug reports and suggestions are
welcome to:
J M Associates
21 Godmans Lane, Marks Tey
Colchester, CO6 1LU, United Kingdom
email: jmoss@cix.uucp
MNP is a registered trademark of Microcom Inc.
]main;i:sc4;